package com.ybkj.daijia.server.event.model;

import com.ybkj.daijia.server.model.Order;
import org.springframework.context.ApplicationEvent;

public class OrderArriveFromPlaceEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = 7038540511875295279L;

    private boolean devicePush;


    public OrderArriveFromPlaceEvent(Order source, boolean devicePush) {
        super(source);
        this.devicePush = devicePush;
    }

    public boolean isDevicePush() {
        return devicePush;
    }

    public void setDevicePush(boolean devicePush) {
        this.devicePush = devicePush;
    }

}
